package com.ctu.gzero.edit
{
	import com.ctu.gzero.elements.DOMElement;
	
	import flash.events.FocusEvent;
	import flash.events.KeyboardEvent;
	import flash.events.MouseEvent;
	import flash.events.TextEvent;
	
	public interface ISelectionManager
	{
		function focusInHandler(event:FocusEvent):void;
		function keyDownHandler(event:KeyboardEvent):void;
		function keyUpHandler(event:KeyboardEvent):void;
		function mouseDownHandler(event:MouseEvent):void;
		function mouseUpHandler(event:MouseEvent):void;
		function mouseMoveHandler(event:MouseEvent):void;
		function mouseOverHandler(event:MouseEvent):void;
		function mouseOutHandler(event:MouseEvent):void;
		function rollOverHandler(event:MouseEvent):void;
		function rollOutHandler(event:MouseEvent):void;
		function textInputHandler(event:TextEvent):void;
		function set dom(val:DOMElement):void;
		function get dom():DOMElement;
		function get anchorPosition():int;
		function get activePosition():int;
		function set anchorPosition(val:int):void;
		function set activePosition(val:int):void;
		function setSelection(selectionState:SelectionState):void;
	}
}